/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ivanbiz.account;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author Ivan
 */
public class AccountForm extends org.apache.struts.action.ActionForm {

    private long id;
    private String kode;
    private String nama;
    private String alamat;
    private String telp;
    private String statusJabatan;
    private long user;
    private String idCard;
    private String noCard;
    private String namaCard;
    private String idRelation;
    private String namaRelation;
    private String umur;
    private String relasi;
    private String acc;

    public String getAcc() {
        return acc;
    }

    public void setAcc(String acc) {
        this.acc = acc;
    }

    public String getAlamat() {
        return alamat;
    }

    public void setAlamat(String alamat) {
        this.alamat = alamat;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdRelation() {
        return idRelation;
    }

    public void setIdRelation(String idRelation) {
        this.idRelation = idRelation;
    }

    public String getKode() {
        return kode;
    }

    public void setKode(String kode) {
        this.kode = kode;
    }

    public String getNama() {
        return nama;
    }

    public void setNama(String nama) {
        this.nama = nama;
    }

    public String getNamaCard() {
        return namaCard;
    }

    public void setNamaCard(String namaCard) {
        this.namaCard = namaCard;
    }

    public String getNamaRelation() {
        return namaRelation;
    }

    public void setNamaRelation(String namaRelation) {
        this.namaRelation = namaRelation;
    }

    public String getNoCard() {
        return noCard;
    }

    public void setNoCard(String noCard) {
        this.noCard = noCard;
    }

    public String getRelasi() {
        return relasi;
    }

    public void setRelasi(String relasi) {
        this.relasi = relasi;
    }

    public String getStatusJabatan() {
        return statusJabatan;
    }

    public void setStatusJabatan(String statusJabatan) {
        this.statusJabatan = statusJabatan;
    }

    public String getTelp() {
        return telp;
    }

    public void setTelp(String telp) {
        this.telp = telp;
    }

    public String getUmur() {
        return umur;
    }

    public void setUmur(String umur) {
        this.umur = umur;
    }

    public long getUser() {
        return user;
    }

    public void setUser(long user) {
        this.user = user;
    }

    @Override
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        this.noCard = null;
        this.namaRelation = null;
        this.umur = null;
        this.relasi = null;
//        this.kode = null;
//        this.nama = null;
//        this.alamat = null;
//        this.telp = null;
//        this.statusJabatan = null;
    }
}
